package view;
import java.util.Vector;

import javax.swing.table.DefaultTableModel;

//@author A0097788Y
public class UneditableTable extends DefaultTableModel {

	/**
	 * @param tableData
	 * @param colNames
	 */
	public UneditableTable(Object[][] tableData, Object[] colNames) {
		super(tableData, colNames);
	}

	/**
	 * @param tableData
	 * @param colNames
	 */
	public UneditableTable(Vector tableData, Vector colNames) {
		super(tableData, colNames);
	}

	/**
	 *
	 * @see javax.swing.table.DefaultTableModel#isCellEditable(int, int)
	 * @param row
	 * @param column
	 * @return false, uneditable
	 * @Precondition 
	 * @Postcondition 
	 */
	public boolean isCellEditable(int row, int column) {
		return false;
	}
}
